import { ColProps } from "./col"

export function useCol(props: ColProps) {
  function setVal(data: any, id: string, v: any) {
    data[id] = v
  }
  return { setVal }
}